class CreateBuyers < ActiveRecord::Migration
  def self.up
    create_table :buyers do |t|
      t.string :full_name
      t.string :sex, :default => 'unknown'
      t.string  :mobile,
        :link_phone,
        :address
      t.text :remark
      t.timestamps
    end
  end

  def self.down
    drop_table :buyers
  end
end
